package org.example.common.service;

import org.example.common.model.dto.base.MQListenerDTO;

/**
 * @author lsliang
 */
public interface MQListenerService<T extends MQListenerDTO> {

    /**
     * 监听MQ消息
     * @param mqListenerDTO 监听到的对象
     */
    void receive(T mqListenerDTO);

}
